﻿CREATE TABLE [security].[CatEmpresa] (
    [IdEmpresa]     INT             NOT NULL,
    [Nombre]        NVARCHAR (200)  NULL,
    [IdEstado]      INT             NULL,
    [IdMunicipio]   INT             NULL,
    [CodigoPostal]  BIGINT          NULL,
    [IdColonia]     INT             NULL,
    [Calle]         NVARCHAR (200)  NULL,
    [NumeroExt]     INT             NULL,
    [NumeroInt]     INT             NULL,
    [Telefono]      NVARCHAR (50)   NULL,
    [FechaMod]      DATETIME        NULL,
    [IpMod]         VARCHAR (15)    NULL,
    [IdUsuarioMod]  INT             NULL,
    [LogoArchivo]   VARBINARY (MAX) NULL,
    [LogoNombre]    NVARCHAR (100)  NULL,
    [LogoImageType] NVARCHAR (50)   NULL,
    [Tema]          NVARCHAR (50)   NULL,
    [Titular]       NVARCHAR (500)  NULL
);

